package com.example.controller;

import com.example.auth.domain.SysOrg;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RequestMapping("/org")
@RestController
public class SysOrgController {

    @PostMapping("/saveorupdate")
    public ResponseEntity<?> saveOrUpdate(SysOrg sysOrg) {
        return ResponseEntity.ok().body(sysOrg);
    }
}
